package net.koodar.forge.system.role.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.koodar.forge.system.role.model.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Role Mapper.
 *
 * @author liyc
 */
@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    List<Role> findByUserId(@Param("userId") Long userId);
}
